package cn.qiyu5522.service;

import cn.qiyu5522.domain.entity.RoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色和菜单关联表 服务类
 * </p>
 *
 * @author Tonkey
 * @since 2024-04-22
 */
public interface RoleMenuService extends IService<RoleMenu> {

    List<Long> selectMenuIdsByRoleIds(List<Long> roleIdListByUserId);

    void saveBatchByRoleIdMenuIds(Long id, List<Long> menuIds);
}
